<div class="am-u-sm-12 widget main-w">
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('index')}">统计报表</a></li>
		<li class="am-active">财务对账</li>
		<li class="am-active">公司对账</li>
	</ol>
	<input type="hidden" class="is_first" value="1">
	{if $Think.get.company_id}
	<form class="am-form-inline tpl-form-border-form ">
		<div class="am-u-sm-12">
			<div class="am-u-sm-3 cl-p">
				<div class="am-u-sm-12 cl-p">
					<div class="am-u-sm-12 cl-p">
					<div class="am-u-sm-12 cl-p">
						<select class="company_id" name="company_id" data-am-selected="{searchBox: 1,maxHeight: 300,btnWidth: '100%'}">
							
						</select>
					</div>
				</div>
					
					<!--<div class="am-u-sm-6 cl-p">
						<div class="am-u-sm-11 cl-p">
							<input type="month" name="start" class="am-form-field " placeholder="开始时间" value="{$Think.get.start}">
						</div>
						<div class="am-u-sm-1 cl-p"  style="text-align: center;">-</div>
					</div>
					<div class="am-u-sm-6 cl-p">
						<div class="am-u-sm-12 cl-p">
							<input type="month" class="am-form-field" name='end' placeholder="结束时间"  value="{$Think.get.end}">
						</div>
					</div>-->
					
				</div>

			</div>
			<div class="am-u-sm-4 cl-p">
				<div class="am-u-sm-7 ">
							<input type="number" name="year" class="am-form-field " placeholder="请输入年份" value="{$Think.get.year?:2018}">
						</div>
				<div class="am-u-sm-5 cl-p ">
					<select name="check_state" style="height: 33px;">
						<option>全部</option>
						
					</select>
				</div>

			</div>
			<div class="am-u-sm-5">
				<button  class="am-btn am-btn-sm am-btn-primary am-radius">查询<i class="am-icon-search"></i></button>
			</div>
		</div>
	</form>
	{else/}
	<form class="am-form-inline tpl-form-border-form ">
		<div class="am-u-sm-12">
			<div class="am-u-sm-3 cl-p">
				<input type="text" class="am-form-field tpl-form-no-bg" name="company_name" placeholder="公司名称" value="{$Think.get.company_name}">
			</div>
			
			<div class="am-u-sm-9">
				<button  class="am-btn am-btn-sm am-btn-primary am-radius">查询<i class="am-icon-search"></i></button>
			</div>
		</div>
	</form>
	
	{/if}
	<div class="am-u-sm-12" style="margin: 20px 0;">
		<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped am-text-truncate tpl-table-black" id="tablea">
			<thead>
				{if $Think.get.company_id}
				<tr>
					<th>年月</th>
					<th>公司名</th>
					<th>订单总金额</th>
					<th>订单总数</th>
					<th>对账单状态</th>
					<th>快递单号</th>
					<th>操作</th>
				</tr>
				{else/}
				<tr>
					<th>公司名称</th>
					<th>公司类型</th>
					<th>账号</th>
					<th>联系人</th>
					<th>联系电话</th>
					<th>操作</th>
				</tr>
				{/if}
			</thead>
			<tbody>
				{if $Think.get.company_id}
				<tr>
					<td>请选择公司</td>
				</tr>
				{/if}
			</tbody>
		</table>
		<div class="am-u-lg-12 am-cf">
	
			<div class="am-fr">
				<ul class="pagination">
					
				</ul>
			</div>
		</div>
	</div>

</div>
<script src="{$static_dir}/assets/js/new_pages.js"></script>